March 12, 2025
v3 Fax Offnet Test
Description:
Send a test fax to number
URI:
https://api.multitel.net/v3/offnet/fax
Parameters:
Required: number - your phone number Optional: notify_url - if provided, we will post back any status changes to this URL. (example: https://customer-crm.xyz/notify-handler )
Methods:
POST
Sample Output:
{ "status": { "code":"200", "msg":"Success" }, "response":"" }
Sample code:
$curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://api.multitel.net/v3/offnet/fax', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS =>'{ "number":"15203861195", "notify_url":"https://customer-crm.xyz/notify-handler" }', CURLOPT_HTTPHEADER => array( 'Authorization: Basic d2ViZGV2b3BzOmNvbm51b243Nw==', 'Content-Type: application/json' ), )); $response = curl_exec($curl); curl_close($curl); echo $response; ?>